[INFO] cloning repository https://github.com/MathiasKoch/rust-fatfs-issue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathiasKoch/rust-fatfs-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3f03f807e7e1bf0ab0719db6eb5bb39731b649c
[INFO] checking MathiasKoch/rust-fatfs-issue against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MathiasKoch/rust-fatfs-issue on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-7/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/MathiasKoch/rust-fatfs-issue
[INFO] finished tweaking git repo https://github.com/MathiasKoch/rust-fatfs-issue
[INFO] tweaked toml for git repo https://github.com/MathiasKoch/rust-fatfs-issue written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/MathiasKoch/rust-fatfs-issue already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/rafalh/rust-fatfs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc-print v0.1.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5dcf581516678ba8697b129b9490436bf38279f70e6bf10e972c8b5460a4761
[INFO] running `Command { std: "docker" "start" "-a" "a5dcf581516678ba8697b129b9490436bf38279f70e6bf10e972c8b5460a4761", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5dcf581516678ba8697b129b9490436bf38279f70e6bf10e972c8b5460a4761", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5dcf581516678ba8697b129b9490436bf38279f70e6bf10e972c8b5460a4761", kill_on_drop: false }`
[INFO] [stdout] a5dcf581516678ba8697b129b9490436bf38279f70e6bf10e972c8b5460a4761
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b789a48582d8657f728f35c7061b86d79bb5d93f0e834617403123228b23fabf
[INFO] running `Command { std: "docker" "start" "-a" "b789a48582d8657f728f35c7061b86d79bb5d93f0e834617403123228b23fabf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking embedded-storage v0.2.0
[INFO] [stderr]     Checking fatfs v0.4.0 (https://github.com/rafalh/rust-fatfs#48d428db)
[INFO] [stderr]     Checking libc-print v0.1.17
[INFO] [stderr]     Checking fatfs-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `libc_print`
[INFO] [stdout]   --> src/main.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use libc_print::{libc_print, libc_println};
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`, `trace`
[INFO] [stdout]   --> src/main.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::{debug, error, info, trace, LevelFilter};
[INFO] [stdout]    |           ^^^^^         ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::flash::MEMORY_SIZE`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::flash::MEMORY_SIZE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc_print`
[INFO] [stdout]   --> src/main.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use libc_print::{libc_print, libc_println};
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`, `trace`
[INFO] [stdout]   --> src/main.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::{debug, error, info, trace, LevelFilter};
[INFO] [stdout]    |           ^^^^^         ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::flash::MEMORY_SIZE`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::flash::MEMORY_SIZE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/39323a5877ee6b85e75c652c2518a97a1433a2dc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib
[INFO] [stdout]     = note: second definition in the local crate (`fatfs_test`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]    --> src/main.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn enabled(&self, metadata: &Metadata<'_>) -> bool {
[INFO] [stdout]     |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut fs = FileSystem::new(fat_io, FsOptions::new()).unwrap();
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGES_PER_BLOCK` is never used
[INFO] [stdout]   --> src/flash.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const PAGES_PER_BLOCK: u32 = PAGES_PER_SECTOR * SECTORS_PER_BLOCK;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGES_PER_HALFBLOCK` is never used
[INFO] [stdout]   --> src/flash.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const PAGES_PER_HALFBLOCK: u32 = PAGES_PER_SECTOR * HALFBLOCKS_PER_BLOCK;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fatfs-test` due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] warning: constant `NUMBER_OF_PAGES` is never used
[INFO] [stdout]   --> src/flash.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const NUMBER_OF_PAGES: u32 = NUMBER_OF_SECTORS * PAGES_PER_SECTOR;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: associated function `pages` is never used
[INFO] [stdout]   --> src/flash.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn pages() -> impl Iterator<Item = Page> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `size` is never used
[INFO] [stdout]   --> src/flash.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub const fn size() -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sectors` is never used
[INFO] [stdout]   --> src/flash.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn sectors(&self) -> impl Iterator<Item = Sector> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `halfblocks` is never used
[INFO] [stdout]   --> src/flash.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn halfblocks(&self) -> impl Iterator<Item = HalfBlock> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pages` is never used
[INFO] [stdout]   --> src/flash.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn pages(&self) -> impl Iterator<Item = Page> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `end` is never used
[INFO] [stdout]   --> src/flash.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn end(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sectors` is never used
[INFO] [stdout]   --> src/flash.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn sectors(&self) -> impl Iterator<Item = Sector> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pages` is never used
[INFO] [stdout]   --> src/flash.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn pages(&self) -> impl Iterator<Item = Page> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `end` is never used
[INFO] [stdout]   --> src/flash.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn end(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pages` is never used
[INFO] [stdout]    --> src/flash.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn pages(&self) -> impl Iterator<Item = Page> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `end` is never used
[INFO] [stdout]    --> src/flash.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn end(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `start` is never used
[INFO] [stdout]    --> src/flash.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn start(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `end` is never used
[INFO] [stdout]    --> src/flash.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub fn end(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `at` is never used
[INFO] [stdout]    --> src/flash.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub fn at(address: u32) -> Option<Self> {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `size` is never used
[INFO] [stdout]    --> src/flash.rs:128:18
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub const fn size() -> usize {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b789a48582d8657f728f35c7061b86d79bb5d93f0e834617403123228b23fabf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b789a48582d8657f728f35c7061b86d79bb5d93f0e834617403123228b23fabf", kill_on_drop: false }`
[INFO] [stdout] b789a48582d8657f728f35c7061b86d79bb5d93f0e834617403123228b23fabf
